.class Lcom/instagram/android/fragment/eo;
.super Landroid/content/BroadcastReceiver;
.source "NewsFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/en;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/en;)V
    .locals 0
    .parameter

    .prologue
    .line 66
    iput-object p1, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3
    .parameter "context"
    .parameter "intent"

    .prologue
    .line 69
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "ActionBarService.action_bar_refresh_click"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 70
    iget-object v0, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-static {v0}, Lcom/instagram/android/fragment/en;->a(Lcom/instagram/android/fragment/en;)Lcom/instagram/android/widget/a;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 71
    iget-object v0, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-static {v0}, Lcom/instagram/android/fragment/en;->a(Lcom/instagram/android/fragment/en;)Lcom/instagram/android/widget/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    iget-object v2, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-static {v2}, Lcom/instagram/android/fragment/en;->b(Lcom/instagram/android/fragment/en;)I

    move-result v2

    invoke-static {v1, v2}, Lcom/instagram/android/fragment/en;->a(Lcom/instagram/android/fragment/en;I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/instagram/android/d/i/c;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/a;->loadUrl(Ljava/lang/String;)V

    .line 78
    :cond_0
    :goto_0
    return-void

    .line 73
    :cond_1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "NewsFragment.BROADCAST_SWITCH_TO_INBOX"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 74
    iget-object v0, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-static {v0}, Lcom/instagram/android/fragment/en;->a(Lcom/instagram/android/fragment/en;)Lcom/instagram/android/widget/a;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-static {v0}, Lcom/instagram/android/fragment/en;->a(Lcom/instagram/android/fragment/en;)Lcom/instagram/android/widget/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    invoke-static {v1}, Lcom/instagram/android/fragment/en;->c(Lcom/instagram/android/fragment/en;)Ljava/util/Map;

    move-result-object v1

    sget-object v2, Lcom/instagram/android/fragment/en;->b:Ljava/lang/Integer;

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eq v0, v1, :cond_0

    .line 75
    iget-object v0, p0, Lcom/instagram/android/fragment/eo;->a:Lcom/instagram/android/fragment/en;

    sget-object v1, Lcom/instagram/android/fragment/en;->b:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/en;->b(Lcom/instagram/android/fragment/en;I)V

    goto :goto_0
.end method
